package com.classichu.jetpacksimple.data;

@Deprecated
public class DataTypeCovertHelper {
/*
    public static ZhihuStory model2Entity(ZhihuModel in) {
        ZhihuStory out = new ZhihuStory();
        out.id = in.id;
        out.title = in.title;
        out.content = in.content;
        return out;
    }

    public static ZhihuModel entity2Model(ZhihuStory in) {
        ZhihuModel out = new ZhihuModel();
        out.id = in.id;
        out.title = in.title;
        out.content = in.content;
        return out;
    }

    public static List<ZhihuStory> model2Entity(List<ZhihuModel> inList) {
        List<ZhihuStory> outList = new ArrayList<>();
        for (ZhihuModel in : inList) {
            ZhihuStory out = model2Entity(in);
            outList.add(out);
        }
        return outList;
    }

    public static List<ZhihuModel> entity2Model(List<ZhihuStory> inList) {
        List<ZhihuModel> outList = new ArrayList<>();
        for (ZhihuStory in : inList) {
            ZhihuModel out = entity2Model(in);
            outList.add(out);
        }
        return outList;
    }*/
}
